/*
 ============================================================================
 Name		: symcontrolAppUi.h
 Author	  : Vanderson Rodrigues
 Copyright   : Your copyright notice
 Description : Declares UI class for application.
 ============================================================================
 */

#ifndef __SYMCONTROLAPPUI_h__
#define __SYMCONTROLAPPUI_h__


// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknviewappui.h>       // View AppUi adds View handling to AppUi
#include <akntabgrp.h>          // For handling tabs
#include <aknnavide.h>


// FORWARD DECLARATIONS
class CsymcontrolAppView;
class CInputDataView;
class CsymControlEngine;

// CLASS DECLARATION
/**
 * CsymcontrolAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CsymcontrolAppUi : public CAknViewAppUi
    {
public:
    // Constructors and destructor

    /**
     * ConstructL.
     * 2nd phase constructor.
     */
    void ConstructL();

    /**
     * CsymcontrolAppUi.
     * C++ default constructor. This needs to be public due to
     * the way the framework constructs the AppUi
     */
    CsymcontrolAppUi();

    /**
     * ~CsymcontrolAppUi.
     * Virtual Destructor.
     */
    virtual ~CsymcontrolAppUi();

private:
    // Functions from base classes

    /**
     * From CEikAppUi, HandleCommandL.
     * Takes care of command handling.
     * @param aCommand Command to be handled.
     */
    void HandleCommandL(TInt aCommand);

    /**
     *  HandleStatusPaneSizeChange.
     *  Called by the framework when the application status pane
     *  size is changed.
     */
    void HandleStatusPaneSizeChange();

    /**
     *  From CCoeAppUi, HelpContextL.
     *  Provides help context for the application.
     *  size is changed.
     */
    CArrayFix<TCoeHelpContext>* HelpContextL() const;

private:
    // Data

    /**
     * The application view
     * Owned by CsymcontrolAppUi
     */
    CsymcontrolAppView* iAppView;
    CInputDataView* iInputView;
    CsymControlEngine* iEngine;
    TUid iInputViewId;

};

#endif // __SYMCONTROLAPPUI_h__
// End of File
